﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YunShop_WebAPI.Model
{
    /// <summary>
    /// 商品结构
    /// </summary>
    public class GoodsJson
    {
        /// <summary>
        /// 行号
        /// </summary>
        public string rowId { set; get; }
        /// <summary>
        /// 商品链接地址
        /// </summary>
        public string href { set; get; } = "";
        /// <summary>
        /// 图片链接地址
        /// </summary>
        public string img { set; get; } = "";
        /// <summary>
        /// 商品名称
        /// </summary>
        public string title { set; get; } = "";
        /// <summary>
        /// 销售价
        /// </summary>
        public string price { set; get; } = "0";
        /// <summary>
        /// 零售价
        /// </summary>
        public string orgprice { set; get; } = "0";
        /// <summary>
        /// 商品ID
        /// </summary>
        public string id { set; get; } = "0";
        /// <summary>
        /// 数量
        /// </summary>
        public string qty { set; get; } = "0";
        /// <summary>
        /// 序号
        /// </summary>
        public string entryid { set; get; } = "0";
        /// <summary>
        /// 编号
        /// </summary>
        public string number { set; get; } = "";
        /// <summary>
        /// 是否支付
        /// </summary>
        public string paytype { set; get; } = "0";
        /// <summary>
        /// 支付ID
        /// </summary>
        public string payid { set; get; } = "0";
        /// <summary>
        /// 支付名称
        /// </summary>
        public string payname { set; get; } = "0";
        /// <summary>
        /// 跳转地址
        /// </summary>
        public string url { set; get; } = "0";
        /// <summary>
        /// 件数
        /// </summary>
        public string piece { set; get; } = "0";
        /// <summary>
        /// 金额
        /// </summary>
        public string total { set; get; } = "0";
        /// <summary>
        /// 数据
        /// </summary>
        public List<GoodsJson> data { set; get; }
        /// <summary>
        /// 状态id
        /// </summary>
        public string StateId { set; get; } = "";
        /// <summary>
        /// 状态名称
        /// </summary>
        public string StateName { set; get; } = "";
        /// <summary>
        /// 单位名称
        /// </summary>
        public string UnitName { set; get; } = "";
        /// <summary>
        /// 总行数
        /// </summary>
        public string RowCount { set; get; } = "0";
    }

}
